/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.ugent.medirem.persistence.facade;

import be.ugent.medirem.persistence.entity.details.MeasurementTypeDetails;
import be.ugent.medirem.persistence.entity.values.MeasurementTypeValues;
import be.ugent.medirem.persistence.exception.EntityNotFoundException;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Thomas Roelens
 */
@Local
public interface MeasurementTypeDaoLocal {

    Long create(MeasurementTypeValues detail) throws IllegalArgumentException;

    void remove(Long id) throws IllegalArgumentException, EntityNotFoundException;

    MeasurementTypeDetails getMeasurementType(Long id) throws IllegalArgumentException;

    List<MeasurementTypeDetails> getAll();

    Long getMeasurementTypeId(String name) throws IllegalArgumentException, EntityNotFoundException;
}
